using System.Windows;

namespace PropertyExpression.PresentationCode
{
    internal class PropertyValue : IPropertyValue
    {
        private readonly DependencyProperty dependencyProperty;
        private readonly object value;

        public PropertyValue(DependencyProperty dependencyProperty, object value)
        {
            this.dependencyProperty = dependencyProperty;
            this.value = value;
        }

        public object Value
        {
            get { return value; }
        }

        public DependencyProperty DependencyProperty
        {
            get { return dependencyProperty; }
        }
    }
}